tools/xenstore: split off domain introduction from do_introduce()
authorJuergen Gross <jgross@suse.com>
Wed, 13 Jan 2021 13:00:19 +0000 (14:00 +0100)
committerJuergen Gross <jgross@suse.com>
Thu, 21 Jan 2021 16:31:39 +0000 (17:31 +0100)
commitd4c275d4716233c864c6c3100b658cd2ba623a66
treec7f511952b02b73306b4f5f928c6daa1c42485ab
parentcd831ee438471b9acd37582836d035d7d8aa7100
tools/xenstore: split off domain introduction from do_introduce()

For live update the functionality to introduce a new domain similar to
the XS_INTRODUCE command is needed, so split that functionality off
into a dedicated function introduce_domain().

Switch initial dom0 initialization to use this function, too.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Acked-by: Wei Liu <wl@xen.org>
tools/xenstore/xenstored_domain.c